import request from '@/utils/request'

export const getPatientList = (data) => {
  return request.post('/api/patient/list', data )
}

export const createUser = (data: { name: string }) => {
  return request.post('/users', data)
}